import './assets/main.css'
import 'lib-flexible/flexible'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

// 图标库
import '@/assets/iconfont.scss'

import App from './App.vue'
import router from './router'
// 1. 引入你需要的组件
import {
    Button, Icon, Sticky, FloatingBubble, Popup, DatePicker, NumberKeyboard,
    Field, CellGroup, Cell, Toast, List, Loading, Overlay, Empty, SwipeCell,
    Tabbar, TabbarItem, RollingText, Form, Uploader, Divider, Swipe, SwipeItem,
} from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
const app = createApp(App)

app.use(createPinia())
// 3. 注册你需要的组件
app.use(Button);
app.use(Icon);
app.use(Sticky);
app.use(FloatingBubble);
app.use(Popup);
app.use(DatePicker);
app.use(NumberKeyboard);
app.use(Field);
app.use(CellGroup);
app.use(Form);
app.use(Cell);
app.use(Toast);
app.use(List);
app.use(Loading);
app.use(Overlay);
app.use(Empty);
app.use(SwipeCell);
app.use(Tabbar);
app.use(TabbarItem);
app.use(RollingText);
app.use(Uploader);
app.use(Divider);
app.use(Swipe);
app.use(SwipeItem);
// app.use(showConfirmDialog);



app.use(router)

app.mount('#app')
